const http = require('http')
const server = http.createServer()

server.on('request',(req,res)=>{
    // console.log('请求来了。。。');
    console.log(`请求来了，请求地址是：${req.url}`);
})

server.listen(3000,()=>{
    console.log('服务已启动，端口：3000');
})